package com.crux.kafka2ch.middleware.clickhouse;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "crux.click-house")
@Data
public class ClickHouseDataSourceProperties {
    private String driverClassName;
    private String jdbcUrl;
    private String username;
    private String password;
    private long connectionTimeout = 30000;
    private int maxPoolSize = 200;
    private int minIdle = 3;
}
